import request from '@/utils/request'

// 查询处理记录列表
export function listHandingRecord(query) {
  return request({
    url: '/handingRecord/handingRecord/list',
    method: 'get',
    params: query
  })
}

// 查询处理记录详细
export function getHandingRecord(algsHandingId) {
  return request({
    url: '/handingRecord/handingRecord/' + algsHandingId,
    method: 'get'
  })
}

// 新增处理记录
export function addHandingRecord(data) {
  return request({
    url: '/handingRecord/handingRecord',
    method: 'post',
    data: data
  })
}

// 修改处理记录
export function updateHandingRecord(data) {
  return request({
    url: '/handingRecord/handingRecord',
    method: 'put',
    data: data
  })
}

// 删除处理记录
export function delHandingRecord(algsHandingId) {
  return request({
    url: '/handingRecord/handingRecord/' + algsHandingId,
    method: 'delete'
  })
}
